from core.log import getLogger
from core import threadLocal

logger = None
try:
    logger = threadLocal.get("logger")
    if logger is None:
        logger = getLogger()
except:
    logger = getLogger()

